package com.qianyucc.blog.model.enums;

/**
 * @author lijing
 * @e-mail 1413979079@qq.com
 * @date 2020-05-14 23:01
 * @description 文章类型
 */
public enum ArticleType {
    /**
     * 文章类型：原创
     */
    ORIGINAL("原创",1),
    /**
     * 文章类型：转载
     */
    REPRINT("转载",2);
    private String name;
    private int flag;

    public String getName() {
        return name;
    }

    public int getFlag() {
        return flag;
    }

    ArticleType(String name, int flag) {
        this.name = name;
        this.flag = flag;
    }
}
